package com.zhou.base.components.log1.scheduled;

import org.springframework.boot.task.TaskSchedulerCustomizer;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;

import java.util.Date;
import java.util.concurrent.Callable;

/**
 * spring scheduled 无法使用除了切面的其他方式来处理traceId
 * {@link ThreadPoolTaskScheduler#submit(Callable)}
 * {@link ThreadPoolTaskScheduler#schedule(Runnable, Date)}
 *
 * @author xianfeng
 * @date 2023/12/21 16:56
 * @description:
 */
public class MyTaskSchedulerHandler implements TaskSchedulerCustomizer {
    @Override
    public void customize(ThreadPoolTaskScheduler taskScheduler) {
    }
}
